package com.ds.home.database.vo;

import java.util.UUID;


/**
 * Alarm entity. @author MyEclipse Persistence Tools
 */

public class AlarmVO implements java.io.Serializable {

	// Fields

	private String alarmid;
	private String sensorid;
	private String starttime;
	private String endtime;
	private String cycle;
	private String alertcontent;
	private String comfort;
	private Integer istart;
	private Integer operatestatus;
	private Integer devicestatus;
	private Integer delaytime;
	private String name;
	private String sceneid;

	// Constructors

	/** default constructor */
	public AlarmVO() {
	}

	/** minimal constructor */
	public AlarmVO(String alarmid) {
		this.alarmid = alarmid;
	}

	/** full constructor */
	public AlarmVO(String alarmid, String sensorid, String starttime,
			String endtime, String cycle, String alertcontent,
			String comfort, Integer istart, Integer operatestatus,
			Integer devicestatus, String sceneid,Integer delaytime,String name) {
		this.alarmid = alarmid;
		this.sensorid = sensorid;
		this.starttime = starttime;
		this.endtime = endtime;
		this.cycle = cycle;
		this.alertcontent = alertcontent;
		this.comfort = comfort;
		this.istart = istart;
		this.operatestatus = operatestatus;
		this.devicestatus = devicestatus;
		this.sceneid=sceneid;
		this.delaytime = delaytime;
		this.name=name;
	}

	// Property accessors

	public String getAlarmid() {
		return this.alarmid;
	}

	public void setAlarmid(String alarmid) {
		this.alarmid = alarmid;
	}

	

	public String getStarttime() {
		return this.starttime;
	}

	public void setStarttime(String starttime) {
		this.starttime = starttime;
	}

	public String getEndtime() {
		return this.endtime;
	}

	public void setEndtime(String endtime) {
		this.endtime = endtime;
	}

	public String getCycle() {
		return this.cycle;
	}

	public void setCycle(String cycle) {
		this.cycle = cycle;
	}

	public String getAlertcontent() {
		return this.alertcontent;
	}

	public void setAlertcontent(String alertcontent) {
		this.alertcontent = alertcontent;
	}

	public String getComfort() {
		return this.comfort;
	}

	public void setComfort(String comfort) {
		this.comfort = comfort;
	}

	public Integer getIstart() {
		return this.istart;
	}

	public void setIstart(Integer istart) {
		this.istart = istart;
	}

	public Integer getOperatestatus() {
		return this.operatestatus;
	}

	public void setOperatestatus(Integer operatestatus) {
		this.operatestatus = operatestatus;
	}

	public Integer getDevicestatus() {
		return this.devicestatus;
	}

	public void setDevicestatus(Integer devicestatus) {
		this.devicestatus = devicestatus;
	}

	

	public Integer getDelaytime() {
		return this.delaytime;
	}

	public void setDelaytime(Integer delaytime) {
		this.delaytime = delaytime;
	}
	

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	
	public AlarmVO clone(){
		AlarmVO alarm=new AlarmVO();
		alarm.setAlarmid(UUID.randomUUID().toString());
		alarm.setAlarmid(alarmid);
		alarm.setAlertcontent(alertcontent);
		alarm.setComfort(comfort);
		alarm.setCycle(cycle);
		alarm.setDelaytime(delaytime);
		alarm.setEndtime(endtime);
		alarm.setDevicestatus(devicestatus);
		alarm.setIstart(istart);
		alarm.setOperatestatus(operatestatus);
		alarm.setSceneid(sceneid);
		alarm.setStarttime(starttime);
		alarm.setSensorid(sensorid);
	
		alarm.setName(name);
		return alarm;
	}

	

	public String getSceneid() {
		return sceneid;
	}

	public void setSceneid(String sceneid) {
		this.sceneid = sceneid;
	}

	public String getSensorid() {
		return sensorid;
	}

	public void setSensorid(String sensorid) {
		this.sensorid = sensorid;
	}


}